# Creation of a vector and random setId to calulate K
# K must between 1 and R
# How to get R value ? Rounting table of neighbours ?
# Random algo. to generate setid between 1 and Crk
# (SetId is the number of entries in vector : R
# A function f returns K)
# Input: setid, k, k
# Output: {a1, . . . , ak}
# k = K - 1 
# r = R - 1
# t = Crk
# sav = t
# for i = 0 to K - 1 do
#	while setid >= t do
#	ai = ai + 1 
#	r = r - 1 
#	sav = t 
#	t = Crk
#	end
#	t = sav
#	if i < K - 1 then
#		ai+1 = ai
#	end
#	k = k - 1
# end

module vectorEntries
  state do
    #TODO
    # Get R
    # Random setId (Between 1 and Crk)
    # Calculate K distinct values with f function and setId
    # (K values = id of entries in vector)
  end

end